package com.ld.security.auth.common.base.entity;

import com.ld.security.auth.common.base.constants.JwtUserConstant;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.core.base.column.*;
import com.ld.security.common.mybatis.constant.SqlCondition;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 用户对象
 */
@Data
public class JwtUser extends AuthUser   {

    @ApiModelProperty("角色集合")
    @SqlKey(SqlCondition.like_many)
    private ListString roleIds;

    @ApiModelProperty("所属部门")
    @SqlKey
    private String crtDept;

    @ApiModelProperty("用户类型")
    @SqlKey
    private JwtUserConstant.userType userType;



}
